
package com.alex.web.dao.impl;
import com.alex.web.db.dao.BaseDao;
import com.alex.web.bean.member.Role;
import com.alex.web.dao.RoleDao;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
 * 
 * @author 密思软件
 * @date 2018-8-26 17:48:38
 */
@Repository
public class RoleDaoImpl extends BaseDao<Integer, Role> implements RoleDao {
    /**
     * 批量添加
     * @param list
     * @return
     */
    @Override
    public Integer insertEntitys(List<Role> list){
        return this.getSqlSession().insert(this.getMapperNameSpace()+".insertTrain",list);
    }
}
